package test
{
	import com.pblabs.engine.PBE;
	import com.pblabs.engine.core.PBGame;
	import com.pblabs.engine.time.ProcessManager;
	import com.pblabs.sound.ISoundManager;
	import com.pblabs.sound.SoundManager;
	
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	
	public class game extends Sprite
	{
		public function game()
		{
			stage.align=StageAlign.TOP_LEFT;
			stage.scaleMode=StageScaleMode.NO_SCALE;
			var pbg:PBGame=new PBGame();
			pbg.startup(this);
			trace(pbg.getManager(ISoundManager));
			(pbg.getManager(ISoundManager) as SoundManager).play("http://zhangmenshiting2.baidu.com/data2/music/27834742/27834742.mp3?xcode=10aba8342d6da2930ca177dffe5246f3&mid=0.89464800032927");
		}
	}
}